package com.wyzz.hr.action;

import java.util.List;
import java.util.Map;

import com.wyzz.hr.base.BaseAction;
import com.wyzz.hr.base.ComonBeans;
import com.wyzz.hr.pojo.AttdMachine;

public class AttdMachineAction extends BaseAction {

	public AttdMachineAction() {
	}

	public String execute() throws Exception {
		map = ComonBeans.getValuesToMap(AttdMachine.PROP_MAC_CLASS,
				new boolean[] { true });
		allAttdMachine = getDrillDown("AttdMachine", new String[] { "1" });
		return "success";
	}

	public List getAllAttdMachine() {
		return allAttdMachine;
	}

	public void setAllAttdMachine(List allAttdMachine) {
		this.allAttdMachine = allAttdMachine;
	}

	public Map getMap() {
		return map;
	}

	public void setMap(Map map) {
		this.map = map;
	}

	private List allAttdMachine;
	private Map map;
}
